package com.onix.scalecamerapreview.translate;

import android.support.annotation.Keep;

import java.util.Map;

public class Language {
    @Keep
    private Map<String,LanguageInfo> translation;
    @Keep
    public Map<String, LanguageInfo> getLaunageInfos() {
        return translation;
    }

    public class LanguageInfo {
        @Keep
        private String name;
        @Keep
        private String nativeName;
        @Keep
        private String dir;

        @Keep
        public String getName() {
            return name;
        }
        @Keep
        public void setName(String name) {
            this.name = name;
        }
        @Keep
        public String getNativeName() {
            return nativeName;
        }
        @Keep
        public void setNativeName(String nativeName) {
            this.nativeName = nativeName;
        }
        @Keep
        public String getDir() {
            return dir;
        }
        @Keep
        public void setDir(String dir) {
            this.dir = dir;
        }
        @Keep
        @Override
        public String toString() {
            return name+"-"+nativeName+"-"+dir;
        }
    }
}
